{include file='public/head_css' /}
{include file='public/head_js' /}
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body ">
                    <blockquote class="layui-elem-quote">欢迎
                        <span class="x-red">{$user.nickname|default='管理员'}：</span>
                        <p>{$notice_content|default=''}</p>
                    </blockquote>
                </div>
            </div>
        </div>
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body ">
                    <ul class="layui-row layui-col-space10 layui-this x-admin-carousel x-admin-backlog">
                        <li class="layui-col-md3 layui-col-xs6">
                            <a href="javascript:;" class="x-admin-backlog-body">
                                <h3>后台用户</h3>
                                <p>
                                    <cite>{$admin_user_count|default='0'}</cite>
                                </p>
                            </a>
                        </li>
                        <li class="layui-col-md3 layui-col-xs6">
                            <a href="javascript:;" class="x-admin-backlog-body">
                                <h3>后台角色</h3>
                                <p>
                                    <cite>{$admin_role_count|default='0'}</cite>
                                </p>
                            </a>
                        </li>
                        <li class="layui-col-md3 layui-col-xs6">
                            <a href="javascript:;" class="x-admin-backlog-body">
                                <h3>后台菜单</h3>
                                <p>
                                    <cite>{$admin_menu_count|default='0'}</cite>
                                </p>
                            </a>
                        </li>
                        <li class="layui-col-md3 layui-col-xs6">
                            <a href="javascript:;" class="x-admin-backlog-body">
                                <h3>操作日志</h3>
                                <p>
                                    <cite>{$admin_log_count|default='0'}</cite>
                                </p>
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="layui-col-md12 layui-col-space10">
            <div class="layui-col-md6">
                <div class="layui-card">
                    <div class="layui-card-header">访问信息</div>
                    <div class="layui-card-body ">
                        <table class="layui-table">
                            <tbody>
                                <tr>
                                    <th>用户系统</th>
                                    <td>{$system_info.user_os}</td>
                                </tr>
                                <tr>
                                    <th>用户IP</th>
                                    <td>{$system_info.user_ip}</td>
                                </tr>
                                <tr>
                                    <th>浏览器</th>
                                    <td>{$system_info.user_browser}</td>
                                </tr>
                                <tr>
                                    <th>所在城市</th>
                                    <td>{$system_info.user_ip_address}</td>
                                </tr>

                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="layui-card">
                    <div class="layui-card-header">访问信息</div>
                    <div class="layui-card-body ">
                        <table class="layui-table">
                            <tbody>
                                <tr>
                                    <th>服务器系统</th>
                                    <td>{$system_info.server_os}</td>
                                </tr>
                                <tr>

                                    <th>服务器IP</th>
                                    <td>{$system_info.server_ip}</td>
                                </tr>
        
                                <tr>
                                    <th>PHP版本</th>
                                    <td>{$system_info.php_version}</td>
                                </tr>
                                <tr> <th>运行内存限制</th>
                                    <td>{$system_info.memory_limit}</td>
                                </tr>
        
                                <tr>
                                    <th>最大文件上传限制</th>
                                    <td>{$system_info.upload_max_filesize}</td>
                                </tr>
                                <tr> <th>单次上传数量限制</th>
                                    <td>{$system_info.max_file_uploads}</td>
                                </tr>
        
                                <tr>
                                    <th>最大POST限制</th>
                                    <td>{$system_info.post_max_size}</td>
                                </tr>
                                <tr> <th>项目磁盘剩余容量</th>
                                    <td>{$system_info.disk_free}</td>
                                </tr>
        
                                <tr>
                                    <th>ThinkPHP版本</th>
                                    <td>{$system_info.think_version}</td>
                                </tr>
                                <tr> <th>后台系统版本</th>
                                    <td>{$system_info.admin_version}</td>
                                </tr>
        
                                <tr>
                                    <th>MySql版本</th>
                                    <td>{$system_info.db_version}</td>
                                </tr>
                                <tr> <th>PHP当前运行模式</th>
                                    <td>{$system_info.php_sapi_name}</td>
                                </tr>
        
                                <tr>
                                    <th>PHP当前时区</th>
                                    <td>{$system_info.timezone}</td>
                                </tr>
                                <tr>  <th>PHP当前时间</th>
                                    <td>{$system_info.date_time}</td>
                                </tr>

                            </tbody>
                        </table>
                    </div>
                </div>

            </div>
            <div class="layui-col-md6">
                <div class="layui-card">
                    <div class="layui-card-header">访问信息</div>
                    <div class="layui-card-body ">
                        <table class="layui-table">
                            <tbody>
                                {foreach name='system_info.require_list' id='item'}
                                <tr>
                                    <th>{$key}</th>
                                    <td>{$item}</td>
                                </tr>
                                {/foreach}
                                {foreach name='system_info.require_dev_list' id='item'}
                                <tr>
                                    <th>{$key}</th>
                                    <td>{$item}</td>
                                </tr>
                                {/foreach}
                              

                            </tbody>
                        </table>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>